export const periodDiff = {
  "1": 1 * 60 * 1000,
  "5": 5 * 60 * 1000,
  "15": 15 * 60 * 1000,
  "30": 30 * 60 * 1000,
  "1h": 60 * 60 * 1000,
  "2h": 2 * 60 * 60 * 1000,
  "4h": 4 * 60 * 60 * 1000,
  "1D": 24 * 60 * 60 * 1000,
  "3D": 3 * 24 * 60 * 60 * 1000,
  "1W": 7 * 24 * 60 * 60 * 1000,
  "1M": 30 * 24 * 60 * 60 * 1000,
  "3M": 3 * 30 * 24 * 60 * 60 * 1000,
  "6M": 6 * 30 * 24 * 60 * 60 * 1000,
} as const;

export type IPeriod = keyof typeof periodDiff;
